-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring to drop deprecated usages in pyOpenSSL
& drop Python 3.7 support
#182
base: master
Are you sure you want to change the base?
Conversation
pyOpenSSL
& drop Python 3.7 support
Without this, pyca/cryptography's downstream tests currently fail. The actual warning is being addressed in certbot#182
Without this, pyca/cryptography's downstream tests currently fail. The actual warning is being addressed in #182
This should resolve advisories: (needs Python 3.7 dropped) |
Any movement on this? 👀 |
I opened #186 to drop Python 3.7 and fix security alerts. As for this PR in itself, we will likely do this and/or deprecate this library entirely as discussed at certbot/certbot#8322 and the comments on certbot/certbot#9993 in the next few months. We just need to map out what that transition will look like for the code in https://github.com/certbot/certbot. |
Fixes #181
Caution: This PR introduces backward incompatible changes to the library. A major version of
josepy
should be issued when this PR is merged.Caution: Defensive PR on Certbot should be merged first -> certbot/certbot#9993
This PR removes the APIs deprecated by
pyopenssl
in version 24.2+.As a consequence, several changes of
josepy
public API are made:josepy.ComparableX509
is removed since the underlying wrapped object is now objects fromcryptography
API (Certificate
orCertificateSigningRequest
) and these objects support equality checks.encode_csr
,decode_csr
,encode_cert
anddecode_cert
now manipulates objects fromcryptography
APIAside these changes, the support of Python 3.7 is dropped, given this PR will require a new major version anyway.